import request from '@/utils/request'

// 查询
export function getsignList(params) {
  return request({
    url: '/admin/lottery/page',
    method: 'GET',
    params
  })
}

// 新增
export function addSign(data) {
  return request({
    url: '/admin/lottery',
    method: 'POST',
    data
  })
}


// 修改
export function editSign(data) {
  return request({
    url: '/admin/lottery',
    method: 'PUT',
    data
  })
}

// 删除
export function delSign(id) {
  return request({
    url: `/admin/lottery/${id}`,
    method: 'DELETE'
  })
}

